package com.base.service.impl;

import com.base.mapper.voipmapper.DyInfoMapper;
import com.base.po.voip.DyInfo;
import com.base.po.voip.DyInfoExample;
import com.base.service.DyInfoService;
import com.base.utils.Page;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("dyInfoService")
public class DyInfoServiceImpl implements DyInfoService {
	
	@Autowired
	private DyInfoMapper dyInfoMapper;


	@Override
	public int countByExample(DyInfoExample example) {
		return dyInfoMapper.countByExample(example);
	}

	@Override
	public int deleteByExample(DyInfoExample example) {
		return dyInfoMapper.deleteByExample(example);
	}

	@Override
	public int deleteByPrimaryKey(Integer id) {
		return dyInfoMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(DyInfo record) {
		return dyInfoMapper.insert(record);
	}

	@Override
	public int insertSelective(DyInfo record) {
		return dyInfoMapper.insertSelective(record);
	}

	@Override
	public List<DyInfo> selectByExample(DyInfoExample example) {
		return dyInfoMapper.selectByExample(example);
	}

	@Override
	public List<DyInfo> selectAll(Page page) {
		return dyInfoMapper.selectAll(page);
	}

	@Override
	public DyInfo selectByPrimaryKey(Integer id) {
		return dyInfoMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByExampleSelective(DyInfo record, DyInfoExample example) {
		return dyInfoMapper.updateByExampleSelective(record, example);
	}

	@Override
	public int updateByExample(DyInfo record, DyInfoExample example) {
		return dyInfoMapper.updateByExample(record, example);
	}

	@Override
	public int updateByPrimaryKeySelective(DyInfo record) {
		return dyInfoMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(DyInfo record) {
		return dyInfoMapper.updateByPrimaryKey(record);
	}

	@Override
	public int countAll() {
		return dyInfoMapper.countAll();
	}
}
